import logging
import webapp2
import uuid
import json
from google.appengine.api import users
from google.appengine.ext import db
from debug import b
from api import APIHandler
import models

class MainHandler(webapp2.RequestHandler):
    def get(self):
        self.response.out.write('<head><meta name="google-site-verification" content="swosCggYR_EwtyxKVJbXfiPWgxewvEaigQKSezmABas" /></head><body></body>')

service_mappings = [ 
                     ("/", MainHandler),
                     ("/api/.*", APIHandler),
                     ]
                    
application = webapp2.WSGIApplication(service_mappings, debug=True)


def main():
    application.run()

if __name__ == "__main__":
    main()


